package com.edu.atams.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author czj666
 * @since 2021-10-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Notice extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String title;

    private String content;

    private Integer type;

    @TableField("publisherId")
    private Integer publisherid;

    private String nickname;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date createTime;


}
